package com.elin4it.ssm.service;

import com.elin4it.ssm.mapper.AnswerMapper;
import com.elin4it.ssm.pojo.Answer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author:TY
 * @Descroption:
 * @Date: Created in 10:16 2018/4/9
 * @Modificd By:
 */
@Service("AnswerService")
public class AnswerServiceimpl implements AnswerService {
    @Autowired
    AnswerMapper answerMapper;
    public List<Answer> selectAll() {
        List<Answer> list=answerMapper.selectAll();
        return list;
    }

}
